import service from "@/request/axios";
// 查询资源接口
export const getCssQuestions = () => {
  return service(
    {
      method: "get",
      url: "/api/questions/searchCssList",
    },
    false
  );
};
// 登录接口
export const login = (data) => {
  return service(
    {
      method: "post",
      url: "/api/users/login",
      data
    },
    false
  );
};